36. F1 Score vs. No. of PCs Used

F1 Score vs. No. of PCs Used

Question:

Change n_components to the following values: [10, 15, 25, 50, 100, 250]. For each number of principal components, note the F1 score for Ariel Sharon. (For 10 PCs, the plotting functions in the code will break, but you should be able to see the F1 scores.)
If you see a higher F1 score, does it mean the classifier is doing better, or worse?

Start Quiz: